﻿
using Natural.Attributes;
using Natural.Managers;
using Natural.Model;
using Natural.Providers;
namespace Natural.Actions
{
    [Impl(Type = ImplType.Action,Name = "Get", Strategy = "Default", ApplyTo = typeof(object), Version = 0, Priority = 0)]
    public class Get<T> where T : class 
    {
        public virtual T[] Execute(ActionContext context,Expression expression)
        {
            return Data.Get<T>(expression);
        }
    }
}
